package bean;

import java.io.Serializable;

public class User  implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 4884342634234352934L;
	public User(String loginName, String passWord, String name,
			String phoneNumber, String email,double score) {
		super();
		this.loginName = loginName;
		this.passWord = passWord;
		this.name = name;
		this.phoneNumber = phoneNumber;
		this.email = email;
		this.score = score;
	}
	private String loginName;
	private String passWord;
	private String name;
	private String phoneNumber;
	private String email;
	private double score;
	public double getScore() {
		return score;
	}
	public void setScore(double score) {
		this.score = score;
	}
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	public String getPassWord() {
		return passWord;
	}
	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhoneNumber() {
		return phoneNumber;
	}
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	@Override
	public String toString() {
		return "User [email=" + email + ", loginName=" + loginName + ", name="
				+ name + ", passWord=" + passWord + ", phoneNumber="
				+ phoneNumber + "]";
	}
	
}
